import { get, post, put, del } from '@/utils/request'

// export const page = async (data: any) => {
//     try {
//         const response = await post<any>('/dailyPlan/page', data);
//         return response;
//     } catch (error) {
//     }
// };

// 示例 GET 请求
// 查询定时任务调度详细
export const weeklyCinema = async () => {
    try {
        const response = await get<any>('/entertainment/weeklyCinema');
        return response;
    } catch (error) {
        console.error('GET error:', error);
    }
};

export interface WeeklyCinema {
    videoUrl: string,
    videoName: string,
}